package cn.ym.mall.entity;

import java.io.Serializable;

/**
 * 角色权限
 */
public class RoleRights implements Serializable {
    private Integer rid;     //角色编号
    private Integer rigid;   //权限编号

    public RoleRights() {
    }

    public RoleRights(Integer rigid) {
        this.rigid = rigid;
    }

    public RoleRights(Integer rid, Integer rigid) {
        this.rid = rid;
        this.rigid = rigid;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Integer getRigid() {
        return rigid;
    }

    public void setRigid(Integer rigid) {
        this.rigid = rigid;
    }

    @Override
    public String toString() {
        return "RoleRights{" +
                "rid='" + rid + '\'' +
                ", rigid='" + rigid + '\'' +
                '}';
    }
}
